﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package com.model {
    import com.model.vo.*;

	/***
	 * 常量配置
	 **/
    public class ModelLocator {

		public var paiMaker:PaiMaker;
		
		public var source:String = "assets/今天.mp3";
		public var lrc:String = "assets/今天.ksc";
		
		public var txtWidth:Number = 30; // 单个字的宽度
		
		public var txtColor:uint = 0xFFFFFF; // 歌词颜色
		public var maskColor:uint = 0xff0000; // 遮罩颜色
		public var backColor:uint = 0x0000ff; // 背景颜色
		
		public var loaded:Boolean;
		/** 
		 * @see PlayState
		 * */
		public var playState:String = PlayState.NONE; // 播放状态 play、pause、init
		
		/**  播放列表 **/
		public var songList:Array = [
			{label:"青花瓷", singer:"周杰伦", lrc:"assets/青花瓷.ksc", source:"assets/青花瓷.mp3"},
			{label:"今天", singer:"刘德华", lrc:"assets/今天.ksc", source:"assets/今天.mp3"},
		];

        private static var __instance:ModelLocator = null;

        public function ModelLocator(){
            super();
        }
        public static function getInstance():ModelLocator{
            if (__instance == null){
                __instance = new (ModelLocator);
            };
            return (__instance);
        }

    }
}//package com.model 
